package com.class04;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2024/4/7 8:18
 */
public class Student extends Person {
    @Override
    public void eat() {
//        假如父类不足自己的需求，可以定义自己所需要的业务逻辑
        System.out.println("学生吃饭，喝奶茶");
        System.out.println("加鸡腿");
    }
}
